package com.example.mallorder.controller.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author guanglin.ma
 * @date 2024-01-08 23:01
 */
@Controller
public class PageController {

    @RequestMapping("/{page}.html")
    public String goPage(@PathVariable("page") String page){
        return page;
    }
}
